{% block body %}
{% if session['logged_in'] %}

<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=3.0, user-scalable=yes" />
<form action="chgpwd" method="POST">
  <p><input type="oldpassword" name="oldpassword" placeholder="旧密码"></p>
  <p><input type="newpassword" name="newpassword" placeholder="新密码"></p>
  <p><input type="again" name="again" placeholder="再次输入"></p>
  <p><input type="submit" value="提交"></p>
</form>
{% else %}
    Please Login!
{% endif %}
{% endblock %}
